package aop2;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author CBeann
 * @create 2020-02-20 16:29
 */
@EnableAspectJAutoProxy
@Configuration
public class IOCConfig2 {

    @Bean
    public AspService aspService(){
        return new AspService();
    }

    @Bean
    public SpecialAspects specialAspects(){
        return new SpecialAspects();
    }


}
